﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Data;
using System.Text;
using PTTK19.DB;

namespace PTTK19.BUS
{
    public class BUS_NguyenLieu
    {
        private int _MaNguyenLieu;

        public int MaNguyenLieu
        {
            get { return _MaNguyenLieu; }
            set { _MaNguyenLieu = value; }
        }
        private string _TenNguyenLieu;

        public string TenNguyenLieu
        {
            get { return _TenNguyenLieu; }
            set { _TenNguyenLieu = value; }
        }
        private string _DonViTinh;

        public string DonViTinh
        {
            get { return _DonViTinh; }
            set { _DonViTinh = value; }
        }
        private int _TinhTrang;

        public int TinhTrang
        {
            get { return _TinhTrang; }
            set { _TinhTrang = value; }
        }
        public BUS_NguyenLieu()
        {
            MaNguyenLieu = 0;
            TenNguyenLieu = "";
            DonViTinh = "";
            TinhTrang = 0;
        }
        public static DataTable LayMaNguyenLieu()
        {
            return DBNguyenLieu.LayMaNguyenLieu();
        }
    }
}
